home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1833 / 1833.xpi / chrome / yoono.jar / content / yoono / accountSelectorOverlay.xul < prev    next >
Extensible Markup Language  |  2009-12-16  |  3KB  |  79 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <?xml-stylesheet
  3.       href="chrome://yoono/skin/account-selector/accountSelector.css"
  4.       type="text/css"?> 
  5.  
  6. <!DOCTYPE overlay SYSTEM "chrome://yoono/locale/accountSelector.dtd">
  7.  
  8. <overlay id="accountSelectorOverlay" 
  9.       xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  10.  
  11. <script type="application/x-javascript"
  12.         src="chrome://yoono/content/accountSelector.js" />
  13.  
  14. <stringbundleset>
  15.   <stringbundle id="account-selector-bundle" src="chrome://yoono/locale/accountSelector.properties"/>
  16. </stringbundleset>
  17.  
  18. <textbox id="urlbar">
  19.   
  20.   <box id="urlbar-account-selector" insertbefore="identity-box" tooltiptext="&accountSelector.tooltip;" 
  21.        align="center" onclick="gAccountSelector.onClick()">
  22.     <image id="account-selector-icon" class="account-network-icon default" />
  23.     <label id="account-selector-name" />
  24.     <box id="account-selector-arrow" />
  25.   </box>
  26.   
  27. </textbox>
  28.  
  29. <popupset id="mainPopupSet">
  30.   
  31.   <panel id="account-selector-popup" onpopuphidden="gAccountSelector.onPopupHidden()" hidden="true" noautofocus="true" level="top">
  32.     <box id="account-selector-popup-innerbox">
  33.       <vbox id="account-selector-list">
  34.         <label id="account-selector-header-text" value="&accountSelector.header;" />
  35.         <vbox id="account-selector-popup-list">
  36.         </vbox>
  37.         <label id="account-selector-add" value="&accountSelector.addNew;" onclick="gAccountSelector.addNewProfile()" />
  38.         <label id="account-selector-help" value="&accountSelector.help;" onclick="gAccountSelector.help()" />
  39.       </vbox>
  40.       <vbox id="account-selector-form">
  41.         <label id="account-selector-form-header" value="Add a custom profile :" />
  42.         
  43.         <label class="account-selector-form-label mandatory" value="Name :" />
  44.         <textbox id="account-selector-form-name" clickSelectsAll="true" value="My gmail account" />
  45.         
  46.         <label class="account-selector-form-label mandatory" value="Homepage URL :" />
  47.         <textbox id="account-selector-form-homepage" clickSelectsAll="true" value="http://mail.google.com" />
  48.         
  49.         <label class="account-selector-form-label" value="Avatar/Icon URL :" />
  50.         <textbox id="account-selector-form-avatar" clickSelectsAll="true" value="" />
  51.         
  52.         <hbox>
  53.           <label id="account-selector-form-cancel" value="cancel" onclick="gAccountSelector.formCancel()" />
  54.           <label id="account-selector-form-add" value="Add!" onclick="gAccountSelector.formAdd()" />
  55.         </hbox>
  56.       </vbox>
  57.     </box>
  58.   </panel>
  59.   
  60.   <hbox id="account-selector-session-template" class="account-selector-session" 
  61.         hidden="true" onclick="gAccountSelector.onSessionClick(event, this)">
  62.     <stack class="account-selector-session-stack">
  63.       <image class="account-selector-session-avatar" />
  64.       <box class="account-selector-session-network account-network-icon twitter" />
  65.     </stack>
  66.     <vbox flex="1">
  67.       <label class="account-selector-session-name" flex="1" />
  68.       <hbox class="account-selector-session-actions" align="center">
  69.         <label class="account-selector-session-profile" value="&accountSelector.goHome;" />
  70.         <box class="account-selector-session-pipe" />
  71.         <label class="account-selector-session-reload" value="&accountSelector.switchTo;" />
  72.       </hbox>
  73.     </vbox>
  74.     <box class="account-selector-session-checked" />
  75.   </hbox>
  76.   
  77. </popupset>
  78.  
  79. </overlay>